<div class="top-action">
	<ul class="links">
		<li><a href="administrators-list.php">List Administrators</a></li>
	</ul>
</div>
<div class="form-wrap">
	<form id="administrators-add-form" name="administrators-add-form" method="post" action="administrators-add.php" enctype="multipart/form-data">
	  <table class="data-editor">
	
	
	<tr class="{cycle values='A,B'}">
		<td class="attribute">Full Name: <span class="required">*</span></td>
		<td>
			<input type="text" name="administrators[full_name]" value="{$administrators.full_name|utf8}" class="input" id="administrators-full_name" />
			<span class="form-hints">Full name</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">User Name: <span class="required">*</span></td>
		<td>
			<input type="text" name="administrators[user_name]" value="{$administrators.user_name|utf8}" class="input" id="administrators-user_name" />
			<span class="form-hints">Login username (force to be email address)</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">User Password: <span class="required">*</span></td>
		<td>
			<input type="password" name="administrators[user_password]" value="{$administrators.user_password|utf8}" class="input" id="administrators-user_password" />
			<span class="form-hints">Login password</span>
		</td>
	</tr>
							
	<tr class="{cycle values='A,B'}">
	  <td class="attribute">&nbsp;</td>
	  <td>
		<input type="text" name="email" value="" class="vanish" />
		<input type="text" name="is_spam" value="" class="vanish" />
		<!--{* 100% sure, only spammers fill these fields, Leave it blank. *}-->
		
		<input type="hidden" name="protection_code" value="{$protection_code}" />
		<input type="hidden" name="add-action" value="Add Administrators" />
		<input type="submit" name="submit-button" class="submit" value="Add" />
		<a href="{url::last_page('administrators-list.php')}" class="button-cancel">Cancel</a>
	  </td>
	</tr>
  </table>
</form>
</div>
<!-- End of administrators Add -->


<!-- Add validation -->
<script type="text/javascript" src="js/validator/gen_validatorv31.js"></script>
{js src='validators/administrators/add.js' validator=true}

<!-- Rich Editor: Remove if not necessary. Or, use different .js files -->
<script type="text/javascript" src="js/tinymce/tiny_mce.js"></script>
<script type="text/javascript" src="js/tinymce-textareas.js"></script>

<!-- End of administrators Add -->